* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}
html,
body {
  /* height: 100%; */
  width: 100%;
}

section.testquiz-section {
  width: 100%;
  /* height: 874px; */
/*  margin-top: 100px;*/
/*   background: skyblue; */
}
.testquiz-title {
  height: 235px;
  background-image:linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0, 0.4)), url(../pic/background-1.jpg);
/*  background: skyblue;*/
  background-size: cover;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
}

.testquiz-title h2{
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  word-spacing: 6px;
  letter-spacing: 1px;
  font-family: cursive;
  position: absolute;

}

#text-slide-1{
  animation:text-slide-1 3s ease;
  animation-duration: 2s;
  top: 30px;

}
#text-slide-2{
  animation:text-slide-2 3s ease;
  animation-duration: 2s;
  top: 85px;
}

#web-name{
      box-shadow: 0px 0px 25px -5px #fe0000;text-shadow: 0 0 15px #000;
       color: #fff;background-color: #df133c;
      padding: 10px 25px;font-size: 0.5em;border-radius: 15%;letter-spacing: 1px;
    }
    a{
      text-decoration: none;
    }

@keyframes text-slide-1{
  0%{
    opacity: 0;
    margin-left: -80%;
  }
  100%{
/*    margin-left: 0;*/
  }
}

@keyframes text-slide-2{
  0%{
    opacity: 0;
    margin-right: -80%;
  }
  100%{
    
  }
}


.test-section {
  width: 80%;
  margin: 65px auto;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 10px;
  flex-wrap: wrap;
}
/* test quiz 1 */
.testquiz-online-1 {
  height: 380px;
  width: 240px;
  /* background: aqua; */
  border: 1px solid gray;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 7px 7px 20px gray;
}
.testquiz-online-1 img {
  width: 100%;
  height: 165px;
  border-radius: 15px 15px 0px 0px;
  transition: 0.4s;
}
.testquiz-online-1 img:hover{
  transform: scale(1.2);
}
.testquiz-online-1 h2 {
  font-size: 23px;
  padding: 12px 14px;
  text-align: center;
  font-weight: 500;
  position: relative;
  top: 30px;
}
.testquiz-online-1 hr {
  width: 90%;
  margin: auto;
  margin-top: 65px;
  border-top: 1px solid #9a9ea4;
  opacity: 0.25;
}
.testquiz-online-button-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}
.testquiz-online-button-1 span i {
  font-size: 22px;
  background: transparent;
  color: #fd7e14;
}
.testquiz-online-button-1 span {
  font-size: 17px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.testquiz-online-button-1 button {
  background: #fd7e14;
  padding: 7px;
  border: none;
  border-radius: 9px;
  border: 1px solid #fd7e14;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}
.testquiz-online-button-1 button:hover {
  background: transparent;
  border: 1px solid #fd7e14;
  color: #000;
  box-shadow: 1px 1px 7px gray;
  transition: 1s ease all;
}
.testquiz-online-1 a {
  text-decoration: none;
  color: inherit;
}
.testquiz-online-1 h2:hover {
  color: #066ac9;
}
/* test quiz 2 */
.testquiz-online-2 {
  height: 380px;
  width: 240px;
  /* background: aqua; */
  border: 1px solid gray;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 7px 7px 20px gray;
}
.testquiz-online-2 img {
  width: 100%;
  height: 165px;
  border-radius: 15px 15px 0px 0px;
  transition: 0.4s;

}
.testquiz-online-2 img:hover{
  transform: scale(1.2);
}
.testquiz-online-2 h2 {
  font-size: 23px;
  padding: 12px 14px;
  text-align: center;
  font-weight: 500;
  position: relative;
  top: 30px;
}
.testquiz-online-2 hr {
  width: 90%;
  margin: auto;
  margin-top: 65px;
  border-top: 1px solid #9a9ea4;
  opacity: 0.25;
}
.testquiz-online-button-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}
.testquiz-online-button-1 span i {
  font-size: 22px;
  background: transparent;
  color: #fd7e14;
}
.testquiz-online-button-1 span {
  font-size: 17px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.testquiz-online-button-1 button {
  background: #fd7e14;
  padding: 7px;
  border: none;
  border-radius: 9px;
  border: 1px solid #fd7e14;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}
.testquiz-online-button-1 button:hover {
  background: transparent;
  border: 1px solid #fd7e14;
  color: #000;
  box-shadow: 1px 1px 7px gray;
  transition: 1s ease all;
}
.testquiz-online-2 a {
  text-decoration: none;
  color: inherit;
}
.testquiz-online-2 h2:hover {
  color: #066ac9;
}
/* .testquiz-online-3 */
.testquiz-online-3 {
  height: 380px;
  width: 240px;
  /* background: aqua; */
  border: 1px solid gray;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 7px 7px 20px gray;
}
.testquiz-online-3 img {
  width: 100%;
  height: 165px;
  border-radius: 15px 15px 0px 0px;
  transition: 0.4s;

}
.testquiz-online-3 img:hover{
  transform: scale(1.2);
}
.testquiz-online-3 h2 {
  font-size: 23px;
  padding: 12px 14px;
  text-align: center;
  font-weight: 500;
  position: relative;
  top: 30px;
}
.testquiz-online-3 hr {
  width: 90%;
  margin: auto;
  margin-top: 65px;
  border-top: 1px solid #9a9ea4;
  opacity: 0.25;
}
.testquiz-online-button-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}
.testquiz-online-button-1 span i {
  font-size: 22px;
  background: transparent;
  color: #fd7e14;
}
.testquiz-online-button-1 span {
  font-size: 17px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.testquiz-online-button-1 button {
  background: #fd7e14;
  padding: 7px;
  border: none;
  border-radius: 9px;
  border: 1px solid #fd7e14;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}
.testquiz-online-button-1 button:hover {
  background: transparent;
  border: 1px solid #fd7e14;
  color: #000;
  box-shadow: 1px 1px 7px gray;
  transition: 1s ease all;
}
.testquiz-online-3 a {
  text-decoration: none;
  color: inherit;
}
.testquiz-online-3 h2:hover {
  color: #066ac9;
}

/* test quiz 4 */
.testquiz-online-4 {
  height: 380px;
  width: 240px;
  /* background: aqua; */
  border: 1px solid gray;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 7px 7px 20px gray;
}
.testquiz-online-4 img {
  width: 100%;
  height: 165px;
  border-radius: 15px 15px 0px 0px;
  transition: 0.4s;
  
}
.testquiz-online-4 img:hover{
  transform: scale(1.2);
}
.testquiz-online-4 h2 {
  font-size: 23px;
  padding: 12px 14px;
  text-align: center;
  font-weight: 500;
  position: relative;
  top: 30px;
}
.testquiz-online-4 hr {
  width: 90%;
  margin: auto;
  margin-top: 65px;
  border-top: 1px solid #9a9ea4;
  opacity: 0.25;
}
.testquiz-online-button-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
}
.testquiz-online-button-1 span i {
  font-size: 22px;
  background: transparent;
  color: #fd7e14;
}
.testquiz-online-button-1 span {
  font-size: 17px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.testquiz-online-button-1 button {
  background: #fd7e14;
  padding: 7px;
  border: none;
  border-radius: 9px;
  border: 1px solid #fd7e14;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}
.testquiz-online-button-1 button:hover {
  background: transparent;
  border: 1px solid #fd7e14;
  color: #000;
  box-shadow: 1px 1px 7px gray;
  transition: 1s ease all;
}
.testquiz-online-4 a {
  text-decoration: none;
  color: inherit;
}
.testquiz-online-4 h2:hover {
  color: #066ac9;
}


/* **************Test Series css here*************** */

section.test-computer-basic-section {
  width: 100%;
  /* height: 1000px; */
  /* background: antiquewhite; */
  position: relative;
}
.test-computer-basic-title {
  width: 100%;
  height: auto;
  padding-bottom: 30px;
  background: rgb(29 59 83);
}
.test-computer-basic-title h2 {
  font-size: 40px;
  text-align: center;
  padding: 20px;
  color: #fff;
  font-weight: 500;
  font-family: cursive;
}
.test-computer-basic-title p {
  width: 80%;
  margin: auto;
  font-size: 20px;
  font-weight: 400;
  text-align: justify;
  padding: 0px 11px 9px 9px;
  color: #fff00e;
}
.test-computer-basic {
  width: 95%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px auto;
  gap: 28px;
  margin-bottom: 30px;
}
.test-computer-basic-content {
  width: 150px;
  height: auto;
  /* background: aqua; */
  border: 1px dashed gray;
  box-shadow: 1px 1px 10px gray;
  padding: 15px;
  border-radius: 15px;
}
.test-computer-basic-content h3 {
  color: #24292d;
  font-size: 19px;
  text-align: center;
  padding-bottom: 8px;
}
.test-computer-basic-content p {
  text-align: center;
  font-size: 25px;
  padding-bottom: 10px;
}
.test-computer-basic-content button {
  background: #0cbc87;
  color: #fff;
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
  margin-left: 10px;
  border-radius: 30px;
  border: 1px solid #0cbc87;
  transition: 1s ease all;
  cursor: pointer;
}
.test-computer-basic-content button:hover {
  border: 1px solid #0cbc87;
  background: transparent;
  color: #343333;
}

/* **************Basic Computer -1 css ****************** */

section.computer-basic-1-section {
  width: 90%;
  /* height: 810px; */
  margin:auto;
  margin-top: -90px;
/*  background-color: #f4f4f4;*/
  position: relative;
  border-radius: 30px;
}
section.computer-basic-1-section i {
  position: absolute;
  left: 35px;
  top: 30px;
  font-size: 40px;
  color: #fff;
}
.container {
  width: 100%;
  /* height: 100vh; */
}
div .quiz {
  width: 85%;
  margin: auto;
  display: flex;
  padding: 32px;
}
.quiz-container #question {
  margin: 10px auto;
  font-size: 21px;
  font-weight: 600;
  height: auto;
  font-family: sans-serif;
}

.quiz-container #question2 {
   font-size: 16px;
   font-weight: 500;
   line-height: 25px;
   padding-bottom: 12px;
   padding-left: 25px;
 }

.quiz-container {
  width: 85%;
  padding:20px;
  border: 1px solid rgb(29,59,83);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  margin-right: 50px;
  border-radius: 10px;
  height: 50%;
  overflow: hidden;
  transition: transform 3s ease-in-out;
  background: #fff;
}
/*.question-container label,
input {
  margin: 9px auto;
  padding: 15px;
  font-size: 18px;
}*/

.quiz-container input{
  display: none;
}

.navigation-buttons{
  display: flex;
  justify-content: space-between;
}

.navigation-buttons #submit-btn{
  background: #C70039;
}

.quiz-container button {
  margin-top: 20px;
  padding: 10px 50px;
  font-size: 16px;
  cursor: pointer;
  background: #249a00;
  border: none;
  border-radius: 13px;
  color: #fff;
  margin-right: 13px;
}

.nav-container {
  width: 37%;
  height: auto;
  padding: 10px 25px;
  background-color: #f9f9f9;
  border: 1px solid rgb(29,59,83);
  border-radius: 8px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  /* overflow-y: scroll; */
}
.nav-container h3 {
  padding: 8px;
  font-size: 23px;
  text-align: center;
  width: 100%;
  background: rgb(29,59,83);
  color: #fff;
  margin-top: 10px;
  margin-bottom: 13px;
  border-radius: 3px;
}
#question-nav {
  margin-top: -7px;
  margin-bottom: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.nav-btn.unattempted {
  background-color: #f44336; /* Red */
  color: white;
}

.nav-btn.attempted {
  background-color: #4caf50; /* Green */
  color: white;
}

.nav-btn.active {
  background-color: #4285f4;
  color: white;
}
.nav-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 2px solid #222;
  cursor: pointer;
  font-size: 18px;
}
div#result {
  width: 70%;
  margin: auto;
  margin-top: 30px;
}
div#result h2 {
  font-size: 35px;
  color: #000000;
  text-align: center;
  text-decoration: underline;
  margin-bottom: 20px;
}
p#score {
  text-align: center;
  font-size: 23px;
  color: red;
  font-weight: 500;
  margin-bottom: 20px;
}
#review {
/*  margin-top: 15px;*/
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 3px 3px 5px 6px #ccc;
}
.review-item {
  padding: 16px;
}
#result button {
  margin: 30px 0px;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  background: #af0000;
  border: none;
  border-radius: 13px;
  color: #fff;
  font-weight: 500;
  box-shadow: 3px 3px 5px 6px #ccc;
}
/*.review-item p {
  font-size: 22px;
  font-family: sans-serif;
}

.review-item #ans{
  margin-top: 20px;
}
.correct-review {
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  font-weight: 500;
  border: 2px solid #000;
}
.incorrect-review {
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  font-weight: 500;
  border: 2px solid #000;

}*/
.hidden {
  display: none !important;
}
.quiz-timer {
    font-size: 18px;
   background-color: #C70039;
   text-align: center;
   width: 160px;
   border-radius: 10px;
   padding: 7px 0px;
   color: #fff;
 }

 .slide-out-left {
   transform: translateX(-100%);
   transition: 0.9s;
 }
 .slide-out-right {
   transform: translateX(100%);
   transition: 0.9s;
 }
 .slide-in-left {
   transform: translateX(-100%);
   animation: slideInFromLeft 0.5s forwards;
 }
 .slide-in-right {
   transform: translateX(100%);
   animation: slideInFromRight 0.5s forwards;
 }
 @keyframes slideInFromLeft {
   from {
       transform: translateX(-100%);
   }
   to {
       transform: translateX(0);
  
   }
 }

 @keyframes slideInFromRight {
   from {
       transform: translateX(100%);
   }
   to {
       transform: translateX(0);
   }
 }
 .status-question {
   display: flex;
   align-items: center;
   justify-content: space-around;
   margin-bottom: 20px;
   gap: 10px;
 }
 .status-attempted ,.status-unattempted {
   text-align: center;
   border: 1px solid gray;
   border-radius: 4px;
 }
 .status-attempted p {
   background-color: green;
   color: #ffff;
   padding: 10px;
 }

 #attempted-count , #unattempted-count{
    font-size: 18px;
 }

 .status-unattempted p {
   background-color: rgb(182, 2, 2);
   color: #ffff;
   padding: 10px;
 }
 #opt1-label,#opt2-label,#opt3-label,#opt4-label {
   display: block;
   width: 100%;
   border: 1px solid #80cd28;
   padding: 10px;
   box-sizing: border-box;
   border-radius: 5px;
   cursor: pointer;
 }
 input:checked + #opt1-label {
   background-color: green;
   color: #fff;
 }
 input:checked + #opt2-label {
   background-color: green;
   color: #fff;
 }
 input:checked + #opt3-label {
   background-color: green;
   color: #fff;
 }
 input:checked + #opt4-label {
   background-color: green;
   color: #fff;
 }





 /* ****** responsive test quiz page *********** */

@media (max-width:1360px){
  .test-section{
    width: 90%;
    gap: 20px;
  }

  .testquiz-online-1 {
    height: auto;
    width: 240px;

  }
  .testquiz-online-2 {
    height: auto;
    width: 240px;

  }
  .testquiz-online-3 {
    height: auto;
    width: 240px;

  }
  .testquiz-online-4 {
    height: auto;
    width: 240px;

  }

  .testquiz-online-1 h2 {
    font-size: 18px;
  }
  .testquiz-online-2 h2 {
    font-size: 18px;
  }
  .testquiz-online-3 h2 {
    font-size: 18px;
  }
  .testquiz-online-4 h2 {
    font-size: 18px;
  }
  .testquiz-online-button-1{
    padding: 16px 9px;
  }
}
@media (max-width: 1024px){
  .test-section {
    width:95%;
    gap: 20px;
  }
  .testquiz-online-1 h2 {
    font-size: 18px;
    position: relative;
    top: 15px;
  }
  .testquiz-online-2 h2 {
    font-size: 18px;
    position: relative;
    top: 15px;
  }
  .testquiz-online-3 h2 {
    font-size: 18px;
    position: relative;
    top: 15px;
  }
  .testquiz-online-4 h2 {
    font-size: 18px;
    position: relative;
    top: 15px;
  }

  .testquiz-online-1 {
    height: auto;
    width: 210px;

  }
  .testquiz-online-2 {
    height: auto;
    width: 210px;

  }
  .testquiz-online-3 {
    height: auto;
    width: 210px;

  }
  .testquiz-online-4 {
    height: auto;
    width: 210px;

  }
  .test-section hr{
    margin-top: 30px;
  }

  section.computer-basic-1-section{
    margin-top: -150px;
  }
}

/* ********************Smaller tablets.******************** */
@media (max-width: 948px){
  .test-section {
    width: 80%;
    gap: 80px;
/*    margin: 45px auto;*/
  }

  section.computer-basic-1-section{
    margin-top: -100px;
  }
}
@media (max-width:720px){
    .testquiz-title{
      height: 200px;
    }
    .testquiz-title h2{
      font-size: 30px;
    }
    #text-slide-2{
      top: 80px;
    }

}
@media (max-width: 625px){
  
    .testquiz-title{
      height: 160px;
    }
    .testquiz-title h2{
      font-size: 22px;
    }
    #text-slide-2{
      top: 70px;
    }

    section.computer-basic-1-section{
      margin-top: -80px;
  }

  .test-section {
    width: 90%;
    gap: 10px;
/*    margin: 45px auto;*/
  }

  .testquiz-online-1 h2 {
    font-size: 15px;
    position: relative;
    top: 15px;
  }
  .testquiz-online-2 h2 {
    font-size: 15px;
    position: relative;
    top: 15px;
  }
  .testquiz-online-3 h2 {
    font-size: 15px;
    position: relative;
    top: 15px;
  }
  .testquiz-online-4 h2 {
    font-size: 15px;
    position: relative;
    top: 15px;
  }

  .testquiz-online-1 {
    height: auto;
    width: 185px;

  }
  .testquiz-online-2 {
    height: auto;
    width: 185px;

  }
  .testquiz-online-3 {
    height: auto;
    width: 185px;

  }
  .testquiz-online-4 {
    height: auto;
    width: 185px;

  }

  .testquiz-online-1 img{
    height: 130px;

  }
  .testquiz-online-2 img{
    height: 130px;

  }
  .testquiz-online-3 img{
    height: 130px;

  }
  .testquiz-online-4 img{
    height: 130px;

  }

  .test-section hr{
    margin-top: 19px;
  }

  .testquiz-online-button-1 span i {
    font-size: 16px;

  }
  .testquiz-online-button-1 span {
    font-size: 15px;
    gap: 4px;
  }
  .testquiz-online-button-1 button{
    padding: 6px;
    font-size: 14px;
  }


}

@media (max-width:422px){
  
    .testquiz-title h2{
      font-size: 17px;
    }

  .test-section {
    width: 98%;
    gap: 15px;
  }

  .testquiz-online-1 h2 {
    font-size: 15px;
    position: relative;
    top: 12px;
  }
  .testquiz-online-2 h2 {
    font-size: 15px;
    position: relative;
    top: 12px;
  }
  .testquiz-online-3 h2 {
    font-size: 15px;
    position: relative;
    top: 12px;
  }
  .testquiz-online-4 h2 {
    font-size: 15px;
    position: relative;
    top: 12px;
  }

  .testquiz-online-1 {
    height: auto;
    width: 165px;
    box-shadow: none;


  }
  .testquiz-online-2 {
    height: auto;
    width: 165px;
    box-shadow: none;

  }
  .testquiz-online-3 {
    height: auto;
    width: 165px;
    box-shadow: none;

  }
  .testquiz-online-4 {
    height: auto;
    width: 165px;
    box-shadow: none;

  }

  .testquiz-online-1 img{
    height: 130px;

  }
  .testquiz-online-2 img{
    height: 130px;

  }
  .testquiz-online-3 img{
    height: 130px;

  }
  .testquiz-online-4 img{
    height: 130px;

  }

  .test-section hr{
    margin-top: 19px;
  }

  .testquiz-online-button-1 span i {
    font-size: 16px;

  }
  .testquiz-online-button-1 span {
    font-size: 14px;
    gap: 4px;
  }
  .testquiz-online-button-1 button{
    padding: 4px;
    font-size: 12px;
  }
  .quiz-timer {
    font-size: 16px;
    text-align: center;
    color: white;
  }
}

